package TestDay;

public class ArrayDemo01 {
    public static void main(String[] args) {
        double[] arr={12.9,53.54,75.0,99.1,3.14};
        double min=arr[0];
        for(int i=1;i<5;i++){
            if(arr[i]<min){
                min=arr[i];
                System.out.println("最小值为"+min);
            }
        }
    }
}
